package com.itany.service;

import com.github.pagehelper.PageInfo;
import com.itany.entity.ArticleType;

import java.util.List;

/**
 * Author:yaozhiyuan0117@163.com
 * Time:2019/12/20 15:22
 * Describe:
 * version:1.0
 */


public interface ArticleTypeService {

    public PageInfo<ArticleType> findByPage(Integer page, Integer rows);

    void addType(ArticleType type);

    List<ArticleType> findAll();

    ArticleType findById(Integer id);

    void modifyArticleType(ArticleType type);
}
